package com.guiji.text2video.job.domain;

import com.guiji.text2video.common.core.annotation.Excel;
import com.guiji.text2video.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 spider_news_stat
 * 
 * @author scl
 * @date 2021-09-16
 */
public class SpiderNewsStat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 新闻成功次数 */
    @Excel(name = "新闻成功次数")
    private Integer newsCount;

    /** 新闻类别 */
    @Excel(name = "新闻类别")
    private String newsCategory;

    /** 尝试新闻失败次数 */
    @Excel(name = "尝试新闻失败次数")
    private Integer newsError;

    /** 0表示入库数据，1表示推送数据 */
    @Excel(name = "0表示入库数据，1表示推送数据")
    private Integer statSign;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String backup1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String backup2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNewsCount(Integer newsCount) 
    {
        this.newsCount = newsCount;
    }

    public Integer getNewsCount() 
    {
        return newsCount;
    }
    public void setNewsCategory(String newsCategory) 
    {
        this.newsCategory = newsCategory;
    }

    public String getNewsCategory() 
    {
        return newsCategory;
    }
    public void setNewsError(Integer newsError)
    {
        this.newsError = newsError;
    }

    public Integer getNewsError()
    {
        return newsError;
    }
    public void setStatSign(Integer statSign) 
    {
        this.statSign = statSign;
    }

    public Integer getStatSign() 
    {
        return statSign;
    }
    public void setBackup1(String backup1) 
    {
        this.backup1 = backup1;
    }

    public String getBackup1() 
    {
        return backup1;
    }
    public void setBackup2(String backup2) 
    {
        this.backup2 = backup2;
    }

    public String getBackup2() 
    {
        return backup2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newsCount", getNewsCount())
            .append("newsCategory", getNewsCategory())
            .append("newsError", getNewsError())
            .append("statSign", getStatSign())
            .append("backup1", getBackup1())
            .append("backup2", getBackup2())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
